package com.zzyl.nursing.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.NursingProject;
import com.zzyl.nursing.domain.Orders;
import com.zzyl.nursing.dto.OrdersBody;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;


@Mapper
public interface OrdersMemberMapper extends BaseMapper<NursingProject> {

    @Select("select * from nursing_project where status = 1")
    List<NursingProject> getAllProjects();

    Integer getTotal(OrdersBody ob);

    List<NursingProject> Rowsa(OrdersBody ob);
}
